#include<stdio.h>
#define SIZE 10
int main(void)
{
	double a[SIZE] = {10,20,35,65,41,12,15,95,123,1};
	int max = a[0];
	int res = 0;
	for(int i = 1; i < SIZE; i++)
	{
		if (a[i] > max)
		{
			max = a[i];
			res = i;
		}
	}
	printf("The index of maxiumn is %d\n", res);
	return 0;
}
